home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6233 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  884 b   |  21 lines

  1. On 25 Mar 1996, Timo Karjalainen wrote:
  2.  
  3. > I'm wondering what would be the best way to scroll a screen-size
  4. > non-superbitmap window. The screen might be HUGE, i.e. the window
  5. > might be HUGE. From what I see in the AutoDocs, ScrollLayer() is
  6. > of use only for SuperBitMaps. (I do have GZZ.) 
  7. > In fact there are prop gadgets in the borders and I should scroll
  8. > the window contents as the user plays with the gads.
  9.  
  10. 1. Do NOT use GZZ Windows. That kind of 'two-layer' window should
  11.    NEVER (I really mean NEVER) be used. If you need to clip various drawing 
  12.    routines to your borders, use a clip-region. However, it seems like
  13.    (out of your question) that you don't really need that clipping.
  14.  
  15. 2  If >=V39 use ScrollWindowRaster() (This one got a bug with backfill
  16.    hooks and damage regions, but don't worry about that)
  17.    If <V39 use ScrollRaster() or ClipBlit().
  18.  
  19. Trond.
  20.